package com.kfm.base.structure;

public class MyStackTest {

    public static void main(String[] args) {
        MyStack myStack = new MyStack();

        System.out.println(myStack.isEmpty());

        myStack.push("a" );
        myStack.push("b" );
        myStack.push("c" );
        myStack.push("d" );
        myStack.push("e" );

        System.out.println(myStack.size());

        System.out.println(myStack.pop());

        System.out.println(myStack.size());

        System.out.println(myStack);
    }
}
